package com.ktg.mapper;


import com.ktg.ktgcommon.domain.TmTool;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TmToolMapper {
    public List<TmTool> findPage(@Param("entity") TmTool entity,
                                 @Param("offset") Integer offset,
                                 @Param("pageSize")Integer pageSize);

    public Long count();

    public List<TmTool> toolTypeNameList();

    public boolean update(TmTool tmTool);

    public boolean add(TmTool tmTool);

    public TmTool findById(Long toolId);
}
